package com.vertxsample.samples.core.web.annotation
import io.vertx.core.http.HttpMethod

//http 路由注解
@Target(AnnotationTarget.FUNCTION)//对方法使用
@Retention(AnnotationRetention.RUNTIME) //这一行也可以省略
annotation class HttpAPI(val routerUri:String /*匹配路径*/
                         , val returnType:String /*返回类型*/
                         , val method : HttpMethod /*访问方式*/
)